package com.markedquilt.comment.coomon;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ZhangKe
 * @Description
 * @date 2020/4/18 18:25.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonError {
    private Integer Errcode;
    private String ErrorMsg;

    public CommonError(EmBussinessError emBussinessError){
        this.Errcode= emBussinessError.getErrCode();
        this.ErrorMsg= emBussinessError.getErrMsg();
    }
}
